from gaesessions import SessionMiddleware
import os

def webapp_add_wsgi_middleware(app):
    app = SessionMiddleware(app, cookie_key = "kAccount27" + os.urandom(64))
    return app
